Final multiplication algorithm working.