should raise error unless a valid matrix norm