A New Method For Measuring Black Hole Masses In Active Galaxies: Modeling The Broad Line Region Using Reverberation Mapping Data