Added constants and primitive operations to TT