I really do not understand why maltab doesn't just automatically convert types when you try to add doubles and ints together. What century is this?