Saw a link to this on hardline.The guy was asking for help, but already has a good start. Theres a lot of calculations and modles in it. I wouldn't do anything suggested there but some of it might help you out.
http://www.4x4grace.com/vBulletin/sh...t=13619&page=2