Added transform member function to PolyStar