Realized non-linears don't work with my algorithm :-(