Fixed C++ QuickSort function

Began to write ksdensity function in C++ that will accept a Vector,
ComplexVector, Matrix, or ComplexMatrix as an argument