Darn, you beat me to this project. I was going to start one today

I've been trying to understand the math myself. From what I see, it indeed greatly resembles the math behind 3D.
This tutorial is probably your best bet.
@Mapar007: I don't think you need linear maps to do mode7. That's goes too much into the theory of matrices and such.