add stubs for python wrapper
get FMCS building on the mac
very crude first pass
add test for threshold behavior, which seems to be wrong