written more to sparseFieldCode and updated main.pdf