StationaryRectangle class made consistent with others and its functionality modified in ComputeGNG.java