3-axis magnetic control with multiple attitude profile capabilities in the PRISMA mission