Added working levmar with minimier