Refactoring
Added an additional cost ranking by state to be used as a predictor.