New Matrix calculation thanks to new data structures