Gravar e-mail: Mass determination for T Tauri stars from JHK photometry