Micromachined inertial measurement unit fabricated by a SOI process with selective roughening under structures