Binu functions

Provided by Jason Faulkner at BiNu