POLTORECX: Polar to rectangular coordinates, return x component

syntax: POLTORECX(R, A)

Polar to rectangular coordinates conversion function, returns the x component of the corresponding rectangular coordinate