@staticmethod
def valuesAreEqual(a, b, tol=1e-14):
    """
        Returns true if two numeric values are equal. Optionally supply a tolerance.
        """
    diff = a - b
    if diff < 0:
        diff = diff * -1
    if diff <= tol:
        return True
    else:
        return False
