Inertial Imaging With Nanomechanical Systems