Library for Shield Matrix