Homogeneization theory with applications to sma composites