Added fast path for non-categorical data.
Added a fast path for non-categorical data. Removed use of delete[] by using appropriate C++ classes and smart pointers.
Added a fast path for non-categorical data. Removed use of delete[] by using appropriate C++ classes and smart pointers.