Corrected the definitin  of variables.
fBeta, fFPTime and fBetaChisq are properly defined now.