Test compute_nutation() can take scalar or array