Fix typo in median error message
Check malloc result in LESSINIT
Merge pull request #9 from peterkuma/master

Fix typo & malloc result check