Completed LinearScale and TestLinearScale

Signed-off-by: anthoni <schiochetanthoni@gmail.com>