adding computation of room transform such that it is aligned with the base