adding basic matrix parallelepiped