Some bug fixes

Fixed a few things. Tester function should now spit warnings if
something is wrong and return simply TRUE if the function is correct.
NOTE: If the distribution is wrong, EVERYTHING will come up wrong, so
the first warning should be heeded first.