Partial implementation of scale functionality

+done detecting control points scale.

Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarreddy@gmail.com>