get DTW working + passing basic tests
code cleanup
add templated array utils + tests (and tiny bugfix in array_resample/tests thereof
giant commit of miscellaneous glue code changes / restructuring