generate samples from [-1,1]x[-1,1]
pseudo inverse with LAPACKE/CBLAS
compile with lib lapacke/cblas