changed relaxLM to accept 2D configs