Resolve 2 NullPointerExceptions that happen when attempting to get the mass of a molecule with a pseudo atom.

Signed-off-by: John May <john.wilkinsonmay@gmail.com>
Formatting the formula module (mvn java-formatter:format).
Catch specific exceptions, not Exception, and use multicatch where appropriate.

Signed-off-by: John May <john.wilkinsonmay@gmail.com>
Remove printing of test method name to simplify test output log.

Signed-off-by: John May <john.wilkinsonmay@gmail.com>
Minor cleanup of test output to improve formatting of test results.

Signed-off-by: John May <john.wilkinsonmay@gmail.com>
Remove unused imports (PMD report).

Signed-off-by: John May <john.wilkinsonmay@gmail.com>