'Fix' POSIXtoHM

Closes #10

(I didn't notice the bug until after I'd rewritten the function, so we have a rewritten function instead...)