Added FitTransformer call

Implemented a 'fit' transformation.