Put the transposes in the derivatives
Added SEM into the appendix