The Beam Warming Method takes as input the teta matrix and gives as output matrix
which has in the j-th row the entries of the p-th row of the theta matrix and zeros in all other entries.
Release Notes: