reshapeByColumnDimension
Reshapes a DoubleArray towards a matrix with a defined columnDimension.
Return
matrix represented as an Array (columns) of DoubleArray (rows)
Parameters
columnDimension
number of columns or size of returned DoubleArray, respectively