Added openMP compile flags, set up parallelization
updated sparse auto encoder