@staticmethod
def error(reax_val, dft_val, weight, **kwargs) ->float:
    """Calculate ReaxFF error using error = ((reax_pred - true_val)/weight)^2."""
    return ((reax_val - dft_val) / weight) ** 2
