Added Optimization Changes for Transform_scan + Added MultiCore Path for transform_scan