'Checks that the argument is a square matrix.'

def validate_arguments(self):

    if (not (self.args[0].size[0] == self.args[0].size[1])):
        raise ValueError('Argument    to    upper_tri    must    be    a    square    matrix.')
