debugged formatting problem, added ability to make single predictions