Implementation and calibration of a mesoscale model for amorphous plasticity based on shear transformation dynamics