Remove the lookup table

I was not comfident enough about the lookup table so I removed it
and do "old school" conversion of samples.
Small fix from sample conversion