fixed scripts for numpy 1.7.1, scipy 0.13.0