Gravar-mail: Restoring ion channel pathology by parameter optimization