Bug fixes, documentation, finished adding tests for operand types