Implemented stream operators; 2D transform