implement Newton method with 4 direction lights