Spin-out of binaryfit subroutines to binocs module