Changed to double for precision
Added separate C source for regex parsing of laser data