getAllRouteCosts added

Added a getAllRouteCosts method for easier management of them.
Also some cleanups for variable names.