numpy for sin/cos