Optimization of magnetic suspension devices by a surface current method