Finished implementation of fast multiplication, applied to the code.