Man wrongly convicted of murder freed from prison