I have not been able to solve this problem. Can someone please help me find the error?
I think your problem is that is not 2r, but rather is 4r. In spherical coordinates you have:
For the case of this becomes:
Use this to determine and it turns out to be .