fix cms optimalParameters estimation
Merge branch 'master' into scala-2.9.2