change location of an if clause
make sure you can call init several times
iat with 2 calls to computeD