The bignumber lib doesn't have the trig function i need (sin, cos, atan2)
The examples contain the sin() function and from that the cos() and atan2 can be derived
bignumber cos(x)
{
sin(x+PI/2);
}
atan2(y, x) is more complex
- check wikipedia for the formula