toMapOfLists

Converts the inner DoubleArray to List