Fixed divide-by-zero bug in single-subject model