added lattice lib
added knitr
helper functions update