Added multi threading to Feed forward