BUG: only symmetrize matrix when it is not already symmetric

This looks like an indentation problem which caused unnecessary computation when a non-symmetric array was passed.