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