Fix likelhood so that it allows use of non-GR parameters
The likelihood currently fails if the prior contains non-GR parameters. This MR makes minor change to fix this.
The likelihood currently fails if the prior contains non-GR parameters. This MR makes minor change to fix this.