Introducing Logging and refactoring of scaling_transform
Used Grid Search for hyperparameter k estimation