Added data files. Added PDF. Restructured main source code and added backup from sharelatex
refactored code to make it MATLAB compliant