Doing a vertical flip in image masked tinting method, also added some comments