ES_rotate, matrix multiply