inverse columns for pentadiagonal matrices, only last and first column