Hope it's useful to you guys. It took a bit of work ironing out the kinks. If you have any suggestions or improvements, please let me know, I'll see what I can do (though, I can't promise it won't take me a very long time!

My final step now is to figure out the offsets (will only need to be offset in the X-Axis). It actually adjusts quite well though.