MAHOUT-1578 Optimizations in matrix serialization (ssc) closes apache/mahout#16