replaced methods for std, var, avg and mean with methods from numpy
replaced min and max functions with numpy equivalents
Merge branch 'scipy'