Change getScaleTranslates to initialize Translates

The translates are stored in Transform, and thus the function
need not return a value.  Setting the values in Transform is sufficient.
Merge branch 'master' of https://github.com/Dan-Weinand/DensityEstimation1D