This package define math algorithms for collision calculation.