Removed a bunch of bugs, especially from rankBig. Redid rankSmall to be compatible with rankBig