breaking out kernel definitions
removing redundant import
working HODLR solver