Re-factoring to get rid of secpera (see #153).
Actually removed the "secpera" and "pi" (replaced with M_PI).
Avoid PETSC ERROR traceback when failed to create a unit converter.