How do accelerometers work in space?