handle ints as doubles, so mathemematial operations in matlab do not complain without further sanitization