A microscopically motivated constitutive model for shape memory alloys: Formulation, analysis and computations. (March 2016)