Fixed bug in DenseMatrix collapse by Row

See this Stackoverflow question:
http://stackoverflow.com/questions/14896071/why-is-it-illegal-to-call-mean-on-this-3x2-matrix-of-doubles-in-scala-breeze

The existing tests for sum only included square matrices, so I added rectangular matrces to the tests, which expose the (now fixed) bug.