fixed inference function
Merge branch 'master' of github.com:piquelab/QuASAR