REfined Martinelli

fixed issue with entering h. Also made Martinelli function need output
pressure