put all subroutines in the lanczos module