Bugfix for feature scaling.