Zaslat SMS: Conjugate gradient algorithms and finite element methods