removed unnecessary index array in R2polydata
added statismoModelFromRepresenter