Gravar-mail: Novel experimental and software methods for image reconstruction and localization in capsule endoscopy