Changed calculation variables.