Control of ferrofluid jets with magnetic fields