Replaced std::vector<math::Vector> in Samples with an array on the heap. Moved instantiation of Sample on the heap. Reduced time for a single classification from about 2500ms to 350ms.