added flag into spectral algo to produce true vs estimated quantities. this version will be tested on server