Quasar variability study and mass estimation on single epoch SDSS DR12 data