IT WORKS--so happy I'm going to commit this

Also added convenience function for converting from 2's complement to
(signed) int.