MWD wireless while drilling inclinometer