more exported functions and spline bug fix

NA values and extrapolation was throwing off average_replicates which
was actually thrown off by the spline functions that didn’t handle NA
values and extrapolation appropriately. Several functions were also
made “exported” functions.