added functions for computing (log) probability directly from coeffs

This basically just a refactoring to avoid having to either compute a temporary data set if we already have the coefficients or implementing the exponential function in user code.