Positive scalar fields removed!
Bug fix: distance from a point to a quadric function was sometimes wrong