triangle check interface added
TODO needs to be tested and implemented

low resolution dft not working properly