Polynomial reconstruction of the magnetic field observed by multiple spacecraft with integrated velocity determination