Got Latest constraint to work, in a very limited way.
Added simple linear and square constraint. Need to plug it in.