changes related to functionality for the go-levmar library