added forward and X and Y position calculation

calculation based on frame and columns times by its size