added kmeans cosine analysis

in Main.java and parse_betas.py
moved final " to newline in test
revisited parse_util.py to make graphs
finished generate_from_model.py

to write results to file
added more parameters to run-batch

do not delete commented alist and blist