Remove dependency to scipy, and cleanup.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>