Finished doctesting all but 1 function in btquotient.py. Someone with magma needs to do the last one.
Also fixed code so that all but 7 doctests pass.