Add LAPJV solver and implement it in CostMatrix