Fixed some bugs with reducerStg3.py.
Need to iron out some chinks.