enable optimizations
added more functional dataToSamples converter, complements of kevin
added data map timetest for good measure