added vector constructor for polar coords