def _ss(data):
    """
    MicroPy doesn't have statistics library, so we need this
    Return sum of square deviations of sequence data.
    """
    c = sum(data) / len(data)
    ss = sum((x - c) ** 2 for x in data)
    return ss