problem4 check without calculating sqrt for z, sqrt will slow down the whole process
calculate normal on the fly which speed up the process a lot(wtf), guess matlab has serious mem accessing issue
add sample results to problem3 and problem4
problem2 setup
problem2 needs debug