Unbiased Policy Gradient Objective Computation - Coding problem | OneNoughtOne