changes for systemplus
reorganized helper funcktion for ranking
linear ranking works
cleaned up ranking, works now linear and quadratic
implemented fun overloading
cycle ready, control ready, ranking ready, markov in progress