Implemented rotation for line piece

Early implementation, still to figure out if functioning as intended.