Robotic Cloth Flattening with Wrinkle Direction Detection