Fixed a typo - the wrong method was marked as deprecated in angle::cos.