Improved numerical integration for NLB
Extended NLB to multiple dimensions