Re-applied changes for Assignment 1.
Removed getScalingFromParent feature.