Takes a list of co-ordinates and transforms them.
        :param coords: List of coords
        :return:

def transform_coords(self, coords):
        # type: (List[List[float]]) -> List[List[float]]
        """
        Takes a list of co-ordinates and transforms them.
        :param coords: List of coords
        :return: 
        """
        new_coords = []
        for x in coords:
            x = np.array(x)
            Q = np.linalg.inv(self.P)
            x_ = np.matmul(Q, (x - self.p))
            new_coords.append(x_.tolist())
        return new_coords