emotion interpolation
function interpolateEmotions(strength,fraction,e1,e2,e3,e4) { i = 0; for(i=0;i<16;i++) { a = e1[i] + (e2[i]-e1[i])*fraction; b = e3[i] + (e4[i]-e3[i])*fraction; temp[i] = a + (b-a)*strength; } setFrame = temp; }