Complete basic data processing. Still need to revise normalize function.
Complete basic algorithm.  Still need to debug and test.