fixed orthogonalization step in DPP, was using Gram Schmidt which was numerically unstable. Switched to QR decomp which is quicker and more stable.