update
Compacted code
debugging lib, add 2 input 3d plot