Choose sderr based on signal to noise
Fix solveLSAP in outersimhosp