Changed the triangulatePoints method to fix an error when valve is in vertical position. Connector transformation is also added, but not working yet.