Improve Coriolis matrix generation