requesting pull of bug fixes and performance improvements that should be merged into amaya-library

merge2amaya includes code for vectorization and rudimentary sorting that will be further developed, but this is turned off.