Fixed points order for EPSurface

The script was failing in some cases for non-convex surfaces.