Removed unused variable and changed variable names

Removed unused variable WW and changed CC to numberOfColumns and RR to numberOfRows