Allow -gpu in node name on PBS clusters.
Numpy compatibility and bounds checking fixes in the data processing module.