put in basic sanity check of interpolation
(#387)
made periodic interpolation a command-line option
(#387)
make kmin_factor a command-line argument
(#387)