Hi, thanks to all for your help. Its solved now.

Thank you so much d_stranz. You were totally right and I was mixing some terms. Now I have it clear so I could fix the problem.