numpy sin/cos, KB definition