Magnetization dynamics of the ferrimagnet CoGd near the compensation of magnetization and angular momentum