cleanup and new functions in bomd
all tests pass but mpi for GD needs to be fixed