added det4 and linePlane intersection