@staticmethod
def check_for_errors(order, memory_depth, memory_stride):
    """Check for errors. Must be odd order with positive memory"""
    if order % 2 == 0 or order <= 0:
        raise Exception('PA Order must be positive and odd')
    if memory_depth <= 0:
        raise Exception('Memorydepth must be positive int')
    if memory_stride <= 0:
        raise Exception('Memory Stride must be a positive int')
