This function seperates a 2D matrix into its X and Y components if by definition the kernel is seperable (rank==1).