Fix transformation types for spr()
Fix attempt for the transformation bugs introduced when adding new transformation types in issue #5 (closed).
Fix attempt for the transformation bugs introduced when adding new transformation types in issue #5 (closed).