Renamed tensor to ctensor