added scan implementation of general multi-layer PGP. also updated trainer: it now supports setting the inputs (if numpy arrays are used) and automagically resets the input load in the shared variable
don't need the gatedAutoencoder.py, a GAE layer is defined in pgp_scan.py