Dematting and Detangling