dcraw C# version for rw2 decode function