Use 'uncons' instead of case expression in MultiDim
Add a function for comparing Shapes in Feldspar/Vector/Shape
Add support for flattening vectors when storing them to memory.

A vector of pairs can now be flattened to a pair of manifest vectors.