The triangulation code seems to work, but perhaps the optflow is terrible