Fixed intersection bugs, tri2rect completely functioning