Added additional casts for blas code generation.
Fixed kMeans C++ kernel detection bug
Added config line to Arguments.scala
Merge branch 'optiml-perf-improvements' into develop