Bug fix in arccos functions.