A new computer model of grain boundary segregation