Hello,
I can help you with this but please send me an unspaced file. And, also the lectures related to this. I have been through this subject. Will need to revise it a bit to be honest with you .
Let me know if you want to know anything else?
Thanks.