Made types of some variables in newton explicit