fixed cv bug, and bug related to scaling of Y
fixed cv bug, and bug related to scaling of Y