Durationtype512

Trying to fix and/or complete the tables and switch-case functions inside durationtype.cpp after the addition of 512th and 1024th durations.