nn_calc
