edited scipy imports