began to work on triangle intersection math