Working on documentation
Finished documentation and fixed build error from changing the bidi functions