Cosecant is the reciprocal of sine, as it should be. However, cotangent should be the reciprocal of tangent.