I found that the issue is the input speed sensor. Looking online for the part but can't find one that is sure match. Does anyone know the part number for it?
I had to eventually take it to a local shop who cleared all codes that was caused by the diff mount. They then drove it until the fault code was back and showed as input speed sensor. This is the only shop in my area that has experience with land rover so he seamed to know what he was talking about.
VIS motors have nothing to do with the transmission
Regarding the transmission:
I would use a multi-meter and test the solenoid as first step. Post your results:
See this video
https://www.youtube.com/watch?v=VTmdkDuKZ6A