added some vectorized stress rotation functions