Completed transformation functions, but for some reason I don't get the correct answer. Will test all the transformations.