Various attempts to debug the pos-correlation functions in R.