removed scipy imports since they were not necessary and slowed the start of the script