Made a big mess

Tried to make all the intersect functions also work on doubles. Broke
intersection. Just committing so I can revert.