Improved the wrapping on the bounded int and made the test of kfact more commandline friendly