Studying grids
another try at calculating matrix before