Fuzzy logic control of a magnetic ball system