Fixed some bugs in parser and non_private

Based on a small sample of data, the analysis program now seems to do
an accurate runthrough of the non private algorithm on a small data set.