A ferrofluid inclinometer with a Time Domain Readout strategy