Added basic polar2cart function.