Made processing method more readable by using bitwise operators
Slight refactor and removal of unused variables
Made axis names make more sense