Fixed small mistake in code.
Fixed scipy importation error.