Calculates all the required details from the NIC number