Fixed bug in function H that caused an infinite recursion for arguments around +-I.