Reciprocal space

Same as above. Leave this function alone as it is my legacy code. I will deal with it in a different PR