removed scipy dependencies