upgrading castable performance through matrix optimization