solver: point-triangle detection first version
solver: further solver improvements.