Added ability to standardize y data.