Using inverse here and arcsine/arccosine above is inconsistent.