MAGNET DESIGN APPLICATIONS OF THE MAGNETOSTATIC PROGRAM CALLED TRIM