some more studys

on the way to reproduce lsqnonlin in R