test derivative
add derivative
use unique_ptr instead of auto_ptr
add explicit seeding
corrected histograms
simplify test case
got nfft somehow do my bidding