expm: fixed rescaling