Added two training scripts.
Various changes to LPN files.