Add prediction hack and new model.

This PR adds a new trained loctype model and adds a hack for #8.