Lava - Optimization

Note

API documentation will arrive shortly. In the mean time, please reviewdocstrings in code.