fixed a few typos with cross term routines