Move to lower case keys to fit convention
Properly calculate sec fractions