More work on gradient policy.
Fixed information matrix calculation.
Small fix to algorithm.