Fix the NULL parameter issue, as discussed in 'https://github.com/beechung/Latent-Factor-Models/issues/7'