updated test to use centralised grid as well
Added angular resolution energy function and partly implemented it