Create find_scale.m

Added the find_scale() code.