removes some TODOs
improves readme
return nan also in --raw mode