fixed an implicit joints absence bug
removed redundant pentamat calculations
fixed hessian
implemented heat maps
fixed formatting