Cleaned up cgetl

More variables, more readable, long data types