Fixed bug in calling RCA transform