xgmath: added 5 intersection/distance tests