Three-dimensional shear transformation zone dynamics model for amorphous metals