<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def spectral_embedding(self, n):
 """ Embed the points using spectral decomposition of the laplacian of the affinity matrix Parameters n: int The number of dimensions """

        coords = spectral_embedding(self._affinity, n)
        return CoordinateMatrix(normalise_rows(coords))