Renamed mask to array
Removed kernel test which required SciPy