updated code that computes the Jones matrix for specific frequencies; to be implemented in map.c