sequential, not tested/verified

Code for sequential version of program running on CPU. Still haven't
gotten libraries to wrok