v0.9.0, added standardizeSamples method