Added steps to limit measurements to only means and standard deviations.