corrected ArrayFlatten error
added tests
Merge branch 'develop' of https://github.com/es335mathwiz/mathAMA into develop

syncing up the various submodule versions