Fix toeplitz SSA and its tests