cen.sub function

Subfunction of cen