User input verification enhancements

Added extra error messages and checks for user error and added an
exception handler to the final equation where overflows are likely to
occur.