Backward Function - Entire Graph