def get_dict_max(d):
    """
    Helper function that calculates the maximum value in a dictionary.
    
    Parameters:
    -----------
    d: dict of float
        The dictonary of float to be checked for maximum value
        
    Returns:
    --------
    The key corresponding to the maximum value and the maximum value.
    """
    
    ind=0
    m=0
    for i in d:
        if d[i]>=m:
            m=d[i]
            ind=i
    return ind,m