MAT_LSPIV 4.0: User Manual