conversion from right handed to left handed coord system