Package example works now, added option to scale basis functions so they are more or less independent of scale... could just change from normal density to exp(-x^2) or something still easily integrable/etc...