fix getP bug
refactoring getP bug fix
add tests in TestAltLU for getP
Merge pull request #44 from prasant94/develop

fix getP bug