moved dealiasing to cal_vis for maximum efficiency
cleanup in cal_nlk, subroutine penalize