some fixes and beginnings of new normed base correlation