A few matrix functions