replaced function check_logs with check_stderr, fixed remaining bugs in function BEAGLE_divide, made sure floats and integers from the command line are converted from strings and lots of other minor changes