sPuReMD: remove unnecessary explicit OpenMP barriers. Conditionally enable OpenMP linear algebra code. Other general refactoring.