Former Federal Reserve Chairman Ben Bernanke will be working as an adviser for one of Wall Street's largest hedge funds.