bug fixed in intersection.h + test from BlackHawk74 added