Added 'pca' algorithm for dimensionality reduction
Updated 'testFFNN' with auto saving of necessary info

Signed-off-by: Jimmy Yu <jimmy.w.j.yu@gmail.com>