Library for the Bicolour Matrix