>Of course, it's over thirty since I did this stuff, but >it flashed back to me. Hopefully correctly, but you >never know! :-) As for the matrix calculations, you're >on your own - I haven't done those since I was 11... and he I am 5 times as many years later attempting it ... The maths modelling course I am doing at the moment would suggest that doing it in a matrix is probably the "best" way. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist