New ebb sage compatible matrix class