Introduction of multi-mesh method for gradients of basis function. Some code refactoring, removed NEW and DELETE macros.