lsh, rsh cleanup, some div work
div refactor
refactored exp, old version was nicer
array base conversion refactor
remove redundant function names
Merge pull request #6 from vukicevic/mpi

Refactor for div, exp and cleanup