make ptw_get_frame return (void *) and add ability to read float values