Moved scipy import up