integerize functoin added becuase __int__ can only return ints. This may have to be moved to another file later.