Fixed a bug in determineConfig (did calculations on a non-existant 512 clock prescaler, indeterminate behavior if it was selected)