try to improve swap method doc
initMatrixFromArray padLeft smallest rows