THz spectroscopic studies of ferrofluid