simplified documentation
added more sample functions
added compiler optimizations for pure operators