Create kScaleOptimization.m