add fastShapelet code (with tiny modifications to remove errors + warnings)