Draft betaCor function and associated methods.
Updated TODOs