Robotic Fabric Flattening with Wrinkle Direction Detection