coding weight in calculator
fft is working
implementing inverse
add inverse in weight.py
ready to merge