Documentation updated! Some bugs fixed.