Add first draft of function declaration for RS calculations.