Finished updating cons.c, ended up updating a few other files as well

I still need to finish updating mathmatetical functions, which should be
mostly done, but I still get compliation errors that I need to fix.