changed to scipy for calculating normpdf. Improves speed a lot. changed
version number to 0.1.3.1