fixed import for newer scipy versions
changed licenses