Implemented the scaling factor.. done.