Calculate all time elements from GPS week and day of week
[tgps]=gpswkd_t(gpsweek, wday)
GPS week
Day of week ([0-6], sunday = 0)
the function initializes a gpstime structure
tgps =
[tgps]=gpswkd_t(1564,4)