Generalized polynomial evaluation for obliquity calculation