Tab to space and remove trailing whitespace in nipa.cpp