Allow comoving volume to accept arrays in non-flat case. Add unit test.

Fix for issue #1270.  Should be considered for 0.2.4.