New test gives better risk prediction for heart attack, stroke