Testing VS2013
Fix sample statistics and code formatting.