removed dependence on scipy because webfactional doesn't support it out of the box