working on cuda for contractfieldfieldtensor