Corrected some bugs, added functions to quickly access performance