Franklin's Machen signs with BYU