changed the correctCoord function math to create the correct direction cosine matrix