fix a regression in the stockcorr benchmark

this was caused by the recent change to chol(A).
fixed by restoring a special 1-argument chol(A), and a type inference
improvement.