Implemented NLM with a modified prior based on correlation and variance.