Text this: Efficient spline orthogonal basis for representation of density functions.