B_Quad8.py converted, as yet untested