Set the angles for the given dimension.
dim (int) – spatial dimension
angles (float or list) – the angles of the SRF
angles – the angles fitting to the dimension
If too few angles are given, they are filled up with 0.