changes to ke matrix, load balancing currently commented