mystery errors: numerical trouble and lost output