MSU's Beckham elects to transfer from hoops team